RWA_FILE_LIST

Purpose

Generates HTML for a file list control for an HTML Form and appends it to the Text buffer.

If a File List is to be included on a form, the form must have set its attributes ENCTYPE='multipart/form-data' and METHOD=POST.

Syntax

RWA_FILE_LIST(vText, Name, Size, aClass)

Parameters

vText
A variable containing the string to which the new HTML code will be appended. On return, the variable contains the modified string. If the string does not exist, it is created.
Name
Name of the file list.
Size
Number of entries in the file list.
aClass

A dynamic array that can contain the following elements:

Element No. Attribute Description
1 CLASS The name of a tag class defined in a CSS stylesheet.
2 MAXLEN The maximum capacity, in characters, of the edit box.
3 SIZE Specifies the visible width, in characters, of the edit box.
4 ACCEPT Specifies a string that limits the types of files to be loaded into the list.

Attributes defined in the aClass parameter are applied to the INPUT tag.

For information about using aClass, see The aClass Parameter.

Dependencies

None.

See Also

RW_FILE_LIST

Go to top button